<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
        span{
            border: 1px solid blue;
            width: 100px;
            height: 100px;
            /*行内元素默认不能修改宽高，但是可以把元素的显示方式改掉*/
            display: block;
        }
        img{
            width: 100px;
            height: 100px;
            /*隐藏元素*/
            display: none;
        }
        a{
            display: block;
            background-color:deepskyblue;
            width: 132px;
            height: 40px;
            /* 行元素不能修改宽高，改成块级或行内块才能修改*/
            color: white;
            text-align: center;
            line-height: 40px;
            border-radius: 2px ;
        }


    </style>

</head>
<body>
<a href="">超链接</a>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>
<img src="../3.webp"alt="">
<img src="../3.webp"alt="">
<img src="../3.webp"alt="">
</body>
</html>